#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>

int main()
{
    int fd = open("./fifo",O_WRONLY);
    if(fd < 0)
    {
        perror("open");
         return 0;
    }

    write(fd,"i am writer~",12);
    return 0;
}
